import http from '@/request/request'

// 获取用户信息
export function getDeptListByCampId(campusId) {
    return http({
        url: `/dept/list?campusId=${campusId}`,
        method: 'get',
    })
}


// 获取用户信息
export function getDeptListByRole() {
    return http({
        url: `/dept/listByRole`,
        method: 'get',
    })
}